import compile.Compile;
import compile.DynamicJavaCompile;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CompileConfig {

    @Bean
    @ConditionalOnMissingBean
    public Compile getDynamicJavaCompile(){
        return new DynamicJavaCompile();
    }
}
